package com.ruicar.afs.cloud.admin.condition;

import com.ruicar.afs.cloud.common.data.datasource.enums.DataScopeTypeEnum;
import lombok.Data;

/**
 * The type RoleVo.
 * <p>
 * Created on 2019-02-21
 *
 * @author Fzero
 */
@Data
public class RoleCondition {
	/**
	 * The Role id.
	 */
	private String roleId;
	/**
	 * The Perm ids.
	 */
	private String[] permIds;
	/**
	 * The Data type.
	 */
	private DataScopeTypeEnum dataType;
	/**
	 * The Dep ids.
	 */
	private Long[] depIds;

	/**
	 * Gets role id.
	 *
	 * @return the role id
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * Sets role id.
	 *
	 * @param roleId the role id
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	/**
	 * Get perm ids string [ ].
	 *
	 * @return the string [ ]
	 */
	public String[] getPermIds() {
		return permIds;
	}

	/**
	 * Sets perm ids.
	 *
	 * @param permIds the perm ids
	 */
	public void setPermIds(String[] permIds) {
		this.permIds = permIds;
	}

	/**
	 * Gets data type.
	 *
	 * @return the data type
	 */
	public DataScopeTypeEnum getDataType() {
		return dataType;
	}

	/**
	 * Sets data type.
	 *
	 * @param dataType the data type
	 */
	public void setDataType(DataScopeTypeEnum dataType) {
		this.dataType = dataType;
	}

	/**
	 * Get dep ids string [ ].
	 *
	 * @return the string [ ]
	 */
	public Long[] getDepIds() {
		return depIds;
	}

	/**
	 * Sets dep ids.
	 *
	 * @param depIds the dep ids
	 */
	public void setDepIds(Long[] depIds) {
		this.depIds = depIds;
	}
}
